package com.topisv.tms.rest.entity.md.request;

import java.util.Date;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;

import com.topisv.tms.tools.typeadapter.JaxbDateAdapter;

/**
 * 美的下单接口报文
 *  Date          Author       Version       Description
 * ----------------------------------------------------------
 *  2015-1-7      CC            1.0           Create
 */
@XmlAccessorType(XmlAccessType.FIELD)
public class AnntoOrderRequestBody implements TransferBodyContent {

	@XmlElement(name = "send_site_code")
	private String sendSiteCode;
	@XmlElement(name = "send_site_name")
	private String sendSiteName;
	@XmlElement(name = "rec_site_code")
	private String recSiteCode;
	@XmlElement(name = "rec_site_name")
	private String recSiteName;
	@XmlElement(name = "plant")
	private String plant;
	@XmlElement(name = "cust_ord_no")
	private String custOrdNo;
	@XmlElement(name = "source_ord_no")
	private String sourceOrdNo;
	@XmlElement(name = "old_ord_no")
	private String oldOrdNo;
	@XmlElement(name = "order_type")
	private String orderType;
	@XmlElement(name = "receiver")
	private String receiver;
	@XmlElement(name = "receiver_name")
	private String receiverName;
	@XmlElement(name = "contract")
	private String contract;
	@XmlElement(name = "contract_phone")
	private String contractPhone;
	@XmlElement(name = "mobile")
	private String mobile;
	@XmlElement(name = "place_code")
	private String placeCode;
	@XmlElement(name = "prov")
	private String prov;
	@XmlElement(name = "city")
	private String city;
	@XmlElement(name = "district")
	private String district;
	@XmlElement(name = "address")
	private String address;
	@XmlElement(name = "plan_out_time")
	@XmlJavaTypeAdapter(JaxbDateAdapter.class)
	private Date planOutTime;
	@XmlElement(name = "plan_arrive_time")
	@XmlJavaTypeAdapter(JaxbDateAdapter.class)
	private Date planArriveTime;
	@XmlElement(name = "invoice_flag")
	private String invoiceFlag;
	@XmlElement(name = "invoice_title")
	private String invoiceTitle;
	@XmlElement(name = "invoice_amount")
	private Double invoiceAmount;
	@XmlElement(name = "express_no")
	private String expressNo;
	@XmlElement(name = "pod_flag")
	private String podFlag;
	@XmlElement(name = "pod_amount")
	private Double podAmount;
	@XmlElement(name = "remark")
	private String remark;
	@XmlElement(name = "cust_customer_code")
	private String custCustomerCode;
	@XmlElement(name = "cust_customer_name")
	private String custCustomerName;
	@XmlElement(name = "store_code")
	private String storeCode;
	@XmlElement(name = "store_name")
	private String storeName;
	@XmlElement(name = "sender_phone")
	private String senderPhone;
	@XmlElement(name = "spec_carrier")
	private String specCarrier;
	@XmlElement(name = "carrier_code")
	private String carrierCode;
	@XmlElement(name = "carrier_name")
	private String carrierName;
	@XmlElement(name = "ord_time")
	@XmlJavaTypeAdapter(JaxbDateAdapter.class)
	private Date ordTime;
	@XmlElement(name = "expand1")
	private String expand1;
	@XmlElement(name = "expand2")
	private String expand2;
	@XmlElement(name = "expand3")
	private String expand3;
	@XmlElement(name = "expand4")
	private String expand4;
	@XmlElement(name = "expand5")
	private String expand5;
	@XmlElement(name = "expand6")
	private String expand6;
	@XmlElement(name = "expand7")
	private String expand7;
	@XmlElement(name = "expand8")
	private String expand8;
	@XmlElement(name = "expand9")
	private String expand9;
	@XmlElement(name = "expand10")
	private String expand10;
	@XmlElementWrapper(name = "order_details")
	@XmlElement(name = "det")
	private List<AnntoOrderDetail> orderDetails;

	public List<AnntoOrderDetail> getOrderDetails() {
		return orderDetails;
	}

	public void setOrderDetails(List<AnntoOrderDetail> orderDetails) {
		this.orderDetails = orderDetails;
	}

	public Date getPlanOutTime() {
		return planOutTime;
	}

	public void setPlanOutTime(Date planOutTime) {
		this.planOutTime = planOutTime;
	}

	public Date getPlanArriveTime() {
		return planArriveTime;
	}

	public void setPlanArriveTime(Date planArriveTime) {
		this.planArriveTime = planArriveTime;
	}

	public String getInvoiceFlag() {
		return invoiceFlag;
	}

	public void setInvoiceFlag(String invoiceFlag) {
		this.invoiceFlag = invoiceFlag;
	}

	public String getInvoiceTitle() {
		return invoiceTitle;
	}

	public void setInvoiceTitle(String invoiceTitle) {
		this.invoiceTitle = invoiceTitle;
	}

	public Double getInvoiceAmount() {
		return invoiceAmount;
	}

	public void setInvoiceAmount(Double invoiceAmount) {
		this.invoiceAmount = invoiceAmount;
	}

	public String getExpressNo() {
		return expressNo;
	}

	public void setExpressNo(String expressNo) {
		this.expressNo = expressNo;
	}

	public String getPodFlag() {
		return podFlag;
	}

	public void setPodFlag(String podFlag) {
		this.podFlag = podFlag;
	}

	public Double getPodAmount() {
		return podAmount;
	}

	public void setPodAmount(Double podAmount) {
		this.podAmount = podAmount;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getCustCustomerCode() {
		return custCustomerCode;
	}

	public void setCustCustomerCode(String custCustomerCode) {
		this.custCustomerCode = custCustomerCode;
	}

	public String getCustCustomerName() {
		return custCustomerName;
	}

	public void setCustCustomerName(String custCustomerName) {
		this.custCustomerName = custCustomerName;
	}

	public String getStoreCode() {
		return storeCode;
	}

	public void setStoreCode(String storeCode) {
		this.storeCode = storeCode;
	}

	public String getStoreName() {
		return storeName;
	}

	public void setStoreName(String storeName) {
		this.storeName = storeName;
	}

	public String getSpecCarrier() {
		return specCarrier;
	}

	public void setSpecCarrier(String specCarrier) {
		this.specCarrier = specCarrier;
	}

	public String getCarrierCode() {
		return carrierCode;
	}

	public void setCarrierCode(String carrierCode) {
		this.carrierCode = carrierCode;
	}

	public String getCarrierName() {
		return carrierName;
	}

	public void setCarrierName(String carrierName) {
		this.carrierName = carrierName;
	}

	public Date getOrdTime() {
		return ordTime;
	}

	public void setOrdTime(Date ordTime) {
		this.ordTime = ordTime;
	}

	public String getExpand1() {
		return expand1;
	}

	public void setExpand1(String expand1) {
		this.expand1 = expand1;
	}

	public String getExpand2() {
		return expand2;
	}

	public void setExpand2(String expand2) {
		this.expand2 = expand2;
	}

	public String getExpand3() {
		return expand3;
	}

	public void setExpand3(String expand3) {
		this.expand3 = expand3;
	}

	public String getExpand4() {
		return expand4;
	}

	public void setExpand4(String expand4) {
		this.expand4 = expand4;
	}

	public String getExpand5() {
		return expand5;
	}

	public void setExpand5(String expand5) {
		this.expand5 = expand5;
	}

	public String getExpand6() {
		return expand6;
	}

	public void setExpand6(String expand6) {
		this.expand6 = expand6;
	}

	public String getExpand7() {
		return expand7;
	}

	public void setExpand7(String expand7) {
		this.expand7 = expand7;
	}

	public String getExpand8() {
		return expand8;
	}

	public void setExpand8(String expand8) {
		this.expand8 = expand8;
	}

	public String getExpand9() {
		return expand9;
	}

	public void setExpand9(String expand9) {
		this.expand9 = expand9;
	}

	public String getExpand10() {
		return expand10;
	}

	public void setExpand10(String expand10) {
		this.expand10 = expand10;
	}

	public String getSendSiteCode() {
		return sendSiteCode;
	}

	public void setSendSiteCode(String sendSiteCode) {
		this.sendSiteCode = sendSiteCode;
	}

	public String getSendSiteName() {
		return sendSiteName;
	}

	public void setSendSiteName(String sendSiteName) {
		this.sendSiteName = sendSiteName;
	}

	public String getRecSiteCode() {
		return recSiteCode;
	}

	public void setRecSiteCode(String recSiteCode) {
		this.recSiteCode = recSiteCode;
	}

	public String getRecSiteName() {
		return recSiteName;
	}

	public void setRecSiteName(String recSiteName) {
		this.recSiteName = recSiteName;
	}

	public String getPlant() {
		return plant;
	}

	public void setPlant(String plant) {
		this.plant = plant;
	}

	public String getCustOrdNo() {
		return custOrdNo;
	}

	public void setCustOrdNo(String custOrdNo) {
		this.custOrdNo = custOrdNo;
	}

	public String getSourceOrdNo() {
		return sourceOrdNo;
	}

	public void setSourceOrdNo(String sourceOrdNo) {
		this.sourceOrdNo = sourceOrdNo;
	}

	public String getOldOrdNo() {
		return oldOrdNo;
	}

	public void setOldOrdNo(String oldOrdNo) {
		this.oldOrdNo = oldOrdNo;
	}

	public String getOrderType() {
		return orderType;
	}

	public void setOrderType(String orderType) {
		this.orderType = orderType;
	}

	public String getReceiver() {
		return receiver;
	}

	public void setReceiver(String receiver) {
		this.receiver = receiver;
	}

	public String getReceiverName() {
		return receiverName;
	}

	public void setReceiverName(String receiverName) {
		this.receiverName = receiverName;
	}

	public String getContract() {
		return contract;
	}

	public void setContract(String contract) {
		this.contract = contract;
	}

	public String getContractPhone() {
		return contractPhone;
	}

	public void setContractPhone(String contractPhone) {
		this.contractPhone = contractPhone;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getPlaceCode() {
		return placeCode;
	}

	public void setPlaceCode(String placeCode) {
		this.placeCode = placeCode;
	}

	public String getProv() {
		return prov;
	}

	public void setProv(String prov) {
		this.prov = prov;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getDistrict() {
		return district;
	}

	public void setDistrict(String district) {
		this.district = district;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getSenderPhone() {
		return senderPhone;
	}

	public void setSenderPhone(String senderPhone) {
		this.senderPhone = senderPhone;
	}

}
